package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开户记录对象 t_account_records
 * 
 * @author ruoyi
 * @date 2024-06-16
 */
public class TAccountRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;
    @Excel(name = "投手")
    private String userName;

    /** 用户id */

    private Long uid;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 凭证 */
    @Excel(name = "凭证")
    private String imgs;

    /** 链接 */
    @Excel(name = "户号")
    private String url;

    /** 类型 */
    @Excel(name = "类型")
    private String mode;

    /** 状态 */
    @Excel(name = "状态 0是开1是关")
    private Long status;

    /** 是否拒付 */
//    @Excel(name = "是否拒付")
    private Long refuseStatus;

    /** 拒付截图 */
//    @Excel(name = "拒付截图")
    private String refuseImgs;

    /** ads编号 */
    @Excel(name = "ads编号")
    private String adsNo;

    /** 限额 */
    @Excel(name = "限额")
    private BigDecimal quota;

    /** 拒付金额 */
//    @Excel(name = "拒付金额")
    private BigDecimal refuseAmount;

    private Date refuseTime;

    public Date getRefuseTime() {
        return refuseTime;
    }

    public void setRefuseTime(Date refuseTime) {
        this.refuseTime = refuseTime;
    }

    public String getAdsNo() {
        return adsNo;
    }

    public void setAdsNo(String adsNo) {
        this.adsNo = adsNo;
    }

    public BigDecimal getQuota() {
        return quota;
    }

    public void setQuota(BigDecimal quota) {
        this.quota = quota;
    }

    public BigDecimal getRefuseAmount() {
        return refuseAmount;
    }

    public void setRefuseAmount(BigDecimal refuseAmount) {
        this.refuseAmount = refuseAmount;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getRefuseStatus() {
        return refuseStatus;
    }

    public void setRefuseStatus(Long refuseStatus) {
        this.refuseStatus = refuseStatus;
    }

    public String getRefuseImgs() {
        return refuseImgs;
    }

    public void setRefuseImgs(String refuseImgs) {
        this.refuseImgs = refuseImgs;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setImgs(String imgs) 
    {
        this.imgs = imgs;
    }

    public String getImgs() 
    {
        return imgs;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("time", getTime())
            .append("amount", getAmount())
            .append("imgs", getImgs())
            .append("createTime", getCreateTime())
            .toString();
    }
}
